package com.newtouch.bxzs.database;

import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021年3月4日</td>
 * <td>Amour</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author Amour
 *  
 * @version 1.0.0
 * @since 1.0.0
 */
@SpringBootApplication(scanBasePackages = { "com.newtouch.bxzs.common.*", "com.newtouch.bxzs.database.*" })
@EnableEurekaClient
@EnableFeignClients
@EnableScheduling
@EnableBatchProcessing
public class Database {

	public static void main(String[] args) {
		SpringApplication.run(Database.class, args);
	}

}
